from flask import Flask
from routes import all_blueprints

# 创建 Flask 应用
app = Flask(__name__)

# 注册所有蓝图
for bp in all_blueprints:
    app.register_blueprint(bp)

# 运行应用
if __name__ == "__main__":
    app.run(host="0.0.0.0", port=5000, debug=True)